//
//  ViewController.h
//  ly
//
//  Created by honeyrr on 2017/12/24.
//  Copyright © 2017年 honeyrr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreBluetooth/CoreBluetooth.h>

@interface ViewController : UIViewController

/*中心角色：用来扫描外部设备*/
@property (nonatomic, strong) CBCentralManager *centralManager;
/*外设（外部设备）角色：我们当选中某个外设连接成功后，将外设对象赋值给该对象*/
@property (nonatomic, strong) CBPeripheral *peripheral;
/*外设设备管理*/
@property(nonatomic, strong) CBPeripheralManager *peripheralManager;

@end

